import {
	http
} from '@/utils/http'

/**
 * 工作中心列表（下拉）
 */
export function produceWorkshopList(data) {
	return new Promise(async (resolve, reject) => {
	    const res = await http({
	      method: 'POST',
	      url: '/mes/mesmemberloginrecord/getWorkshopList',
	      data
	    });
	    resolve(res);
	  });
}

/**
 * 班组列表（下拉）
 */
export function produceCrewList(data) {
	return new Promise(async (resolve, reject) => {
	    const res = await http({
	      method: 'POST',
	      url: '/mes/mesmemberloginrecord/getCrewList',
	      data
	    });
	    resolve(res);
	  });
}
